package com.core.controller;

import com.core.vo.MockVo;
import com.core.vo.Screen;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * create by yongli on 2022-01-17 11:54
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @PostMapping("/instance")
    public Screen get(@RequestBody MockVo mockVo) {
        return new Screen("ddd");
    }
}
